package cn.project.lemontree.service;

import cn.project.lemontree.bean.Class;
import com.baomidou.mybatisplus.extension.service.IService;
import io.swagger.models.auth.In;

import java.util.List;

public interface ClassService extends IService<Class> {

    List<Class> listpage(int page, int size, String className, String teacherName);
    int count(String className, String teacherName);
    boolean saveClass(Class aclass);
    boolean updateClass(Class aclass);
    boolean setInvitationCode(Integer classId);
    Class findClassByid(Integer teacherId);
    Class getClassdetails(Integer childId);
    List<Class> getAllClass();
    boolean countChild();
    List<Class> findEmptyClass();
}
